#include<iostream>
using namespace std;
void test(int* a)
{
	*a = 231;
}
int main()
{
	int a = 10;
	int b = 20;
	int* p = &a;
	test(p);
	cout << *p << endl;
	return 0;
}